import Cookies from 'js-cookie'

const STATUS_KEY = 'global-notice'
export function getNoticeStatus() {
  return Cookies.get(STATUS_KEY) || null;
}

export function setNoticeStatus() {
  Cookies.set(STATUS_KEY, 'true', { expires: 1 })
}